﻿Public Class LoaiNhaDTO
    Private _maloainha
    Private _tenloainha

    Public Property MaLoaiNha() As String
        Get
            Return _maloainha
        End Get
        Set(ByVal value As String)
            _maloainha = value
        End Set
    End Property

    Public Property TenLoaiNha() As String
        Get
            Return _tenloainha
        End Get
        Set(ByVal value As String)
            _tenloainha = value
        End Set
    End Property

    Public Sub New(ByVal maloainha As String, ByVal tenloainha As String)
        Me._maloainha = maloainha
        Me._tenloainha = tenloainha

    End Sub
    Public Sub New(ByVal maloainha As String)
        Me._maloainha = maloainha
    End Sub
End Class
